home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
add_tm_d.zip
/
DSZ-DEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-05
|
2KB
|
40 lines
@echo off
rem to run Demo of addtime.bat
rem all these goto's are necessary if a path
rem is this long like c:\xxx\xxxx\xxxxxx\xxxxxxxx.xxx
rem Run w/ no parm1 to see demo, parm1 for an existing dszlog to add timestamp
rem next 2 lines are only to remind that pads must be set if MSDOS and LIVE
rem See QM-EXMPL.BAT
if not "%OS%"=="DRDOS" set pad70=
if not "%OS%"=="DRDOS" set pad30=
if "%1"=="" goto blank1
if exist %1 goto exists
echo %1 File does not Exist..Cancel with ^C
echo Or the file will be built and written to.
goto xblank1
:exists
echo Adding Time Stamp Line to %1
echo While Running, no Parameters Are Displayed..Simulates Actual Usage
goto xblank1
:blank1
echo Using Demo.log as dszlog file. Parameters are displayed
echo Note: if this DEMO.LOG is set to a real-live dszlog file only time/day
echo Information will be appended as this is a simulated run only.
echo You may do so by invoking DSZ-DEMO path_dszlog_filename.ext
:xblank1
set speed=38400
set modem=w/ USR Dual Std @
pause
echo Simulated DSZ is running....
set logfile=%dszlog%
if "%1"=="" set dszlog=demo
if not "%1"=="" set dszlog=%1
: un comment next dsz line for a live test, AND cmd line of DSZ-DEMO demo.log
: Change port# to your system's, Call some BBS, DL 256ktest.run, Exit DSZ w/ F1
: dsz port 2 speed %speed% d t -y8gMZ
call addtime %dszlog% %speed% %modem%
set dszlog=%logfile%
set logfile=
set speed=
set modem=